#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-11-12 
# software: PyCharm

class Department:
    def __init__(self, id, pid, name):
        self.id = id
        self.pid = pid
        self.name = name

    def __str__(self):
        return f"院系编号: {self.id}, 父级院系编号: {self.pid}, 院系名称: {self.name}"
